﻿using Cloud.Core.Data;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace Cloud.Entity
{
    //权限表(角色菜单)
    [Serializable]
    /// <summary>
    /// 权限模型
    /// </summary>
    public class Sys_Permission : BaseEntity
    {
        public int Id { get; set; }
        /// <summary>
        /// 角色编号
        /// </summary>
        [Display(Name = "角色编号")]
        [Required]
        public int RoleID { get; set; }
        /// <summary>
        /// 模块编号
        /// </summary>
        [Display(Name = "模块编号")]
        [Required]
        public int ModuleID { get; set; }

    }
}